package com.guaju.yueshangLife.bean;

public class CreateOrderBean {


    /**
     * code : 200
     * msg : 订单生成成功
     * data : {"customer_id":4,"address":"3","remark":null,"payment_method":"0","extra":{"invoice":null,"postage":"1830.00"},"total_account":"1830.00","total_amount":1,"order_number":"20191012143743048361","updated_at":"2019-10-12 14:37:43","created_at":"2019-10-12 14:37:43","id":1}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * customer_id : 4
         * address : 3
         * remark : null
         * payment_method : 0
         * extra : {"invoice":null,"postage":"1830.00"}
         * total_account : 1830.00
         * total_amount : 1
         * order_number : 20191012143743048361
         * updated_at : 2019-10-12 14:37:43
         * created_at : 2019-10-12 14:37:43
         * id : 1
         */

        private int customer_id;
        private String address;
        private Object remark;
        private String payment_method;
        private ExtraBean extra;
        private String total_account;
        private int total_amount;
        private String order_number;
        private String updated_at;
        private String created_at;
        private int id;

        public int getCustomer_id() {
            return customer_id;
        }

        public void setCustomer_id(int customer_id) {
            this.customer_id = customer_id;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public Object getRemark() {
            return remark;
        }

        public void setRemark(Object remark) {
            this.remark = remark;
        }

        public String getPayment_method() {
            return payment_method;
        }

        public void setPayment_method(String payment_method) {
            this.payment_method = payment_method;
        }

        public ExtraBean getExtra() {
            return extra;
        }

        public void setExtra(ExtraBean extra) {
            this.extra = extra;
        }

        public String getTotal_account() {
            return total_account;
        }

        public void setTotal_account(String total_account) {
            this.total_account = total_account;
        }

        public int getTotal_amount() {
            return total_amount;
        }

        public void setTotal_amount(int total_amount) {
            this.total_amount = total_amount;
        }

        public String getOrder_number() {
            return order_number;
        }

        public void setOrder_number(String order_number) {
            this.order_number = order_number;
        }

        public String getUpdated_at() {
            return updated_at;
        }

        public void setUpdated_at(String updated_at) {
            this.updated_at = updated_at;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public static class ExtraBean {
            /**
             * invoice : null
             * postage : 1830.00
             */

            private Object invoice;
            private String postage;

            public Object getInvoice() {
                return invoice;
            }

            public void setInvoice(Object invoice) {
                this.invoice = invoice;
            }

            public String getPostage() {
                return postage;
            }

            public void setPostage(String postage) {
                this.postage = postage;
            }
        }
    }
}
